package com.wakala.employment.adapter.jobCategory;

import androidx.annotation.NonNull;

import java.io.Serializable;
import java.util.List;

public class JobCategoryAttrTreeVo implements Serializable {


    private Integer id;


    private Integer pid;

    private String path;

    private Boolean hasChildren;

    /**
     * 分类
     */
    private Integer categoryId;

    /**
     * 分类属性
     */
    private Integer categoryAttrId;
    private String categoryAttrName;

    /**
     * 分类熟悉值
     */
    private Integer categoryAttrValueId;
    private String categoryAttrValue;

    /**
     *
     */
    private String name;

    /**
     * 类型，类型，1 产品分类，2 附件分类，3 文章分类， 4 设置分类， 5 菜单分类， 6 配置分类， 7 秒杀配置
     */
    private Integer type;


    /**
     * 操作模式 0=单选-非必须 1=单选-必选 2-多选
     */
    private Integer mode;


    private String url;


    private String extra;


    private Boolean status;


    private Integer sort;

    private List<JobCategoryAttrTreeVo> children;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Boolean getHasChildren() {
        return hasChildren;
    }

    public void setHasChildren(Boolean hasChildren) {
        this.hasChildren = hasChildren;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getCategoryAttrId() {
        return categoryAttrId;
    }

    public void setCategoryAttrId(Integer categoryAttrId) {
        this.categoryAttrId = categoryAttrId;
    }

    public String getCategoryAttrName() {
        return categoryAttrName;
    }

    public void setCategoryAttrName(String categoryAttrName) {
        this.categoryAttrName = categoryAttrName;
    }

    public Integer getCategoryAttrValueId() {
        return categoryAttrValueId;
    }

    public void setCategoryAttrValueId(Integer categoryAttrValueId) {
        this.categoryAttrValueId = categoryAttrValueId;
    }

    public String getCategoryAttrValue() {
        return categoryAttrValue;
    }

    public void setCategoryAttrValue(String categoryAttrValue) {
        this.categoryAttrValue = categoryAttrValue;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public List<JobCategoryAttrTreeVo> getChildren() {
        return children;
    }

    public void setChildren(List<JobCategoryAttrTreeVo> children) {
        this.children = children;
    }

    @NonNull
    @Override
    public String toString() {
        return name;
    }

    public Integer getMode() {
        return mode;
    }

    public void setMode(Integer mode) {
        this.mode = mode;
    }
}
